Mollie\WooCommerce\Payment\PaymentModule A

Total Complexity 68
Dependencies 16
Dependents 1
Total lines 540
Lines of code 358
Logical lines of code 225
Comment lines 80
Methods 15
Properties 6

Methods 15

Method Rating Maintainability Complexity Lines of code
shipAndCaptureOrderAtMollie()
A
43 11 46
cancelOrderAtMollie()
A
43 11 45
cancelOrderOnExpiryDate()
A
45 10 38
IsExpiryDateEnabled()
S
59 6 13
orderByRequest()
S
54 5 21
onMollieReturn()
S
50 4 29
handleExpiryDateCancelation()
S
54 4 24
maybeLetWCCancelOrder()
S
60 4 15
run()
S
45 1 45
onOrderDetails()
S
64 4 10
services()
S
49 1 36
mollieReturnRedirect()
S
67 3 8
extractRemoteItemsIds()
S
70 2 6
addOrderNoteForRefundCreated()
S
64 1 11
addOrderNoteForCancelledLineItems()
S
64 1 11